package com.example.jobdemo.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Table: user
 */
@Data
public class User extends Page implements Serializable {
    /**
     * 用户ID
     *
     * Table:     user
     * Column:    user_id
     * Nullable:  false
     */
    private Long userId;

    /**
     * 账号
     *
     * Table:     user
     * Column:    user_account
     * Nullable:  false
     */
    private String userAccount;

    /**
     * 用户名
     *
     * Table:     user
     * Column:    user_name
     * Nullable:  false
     */
    private String userName;

    /**
     * 密码
     *
     * Table:     user
     * Column:    user_password
     * Nullable:  false
     */
    private String userPassword;

    /**
     * 用户权限
     *
     * Table:     user
     * Column:    user_power
     * Nullable:  false
     */
    private String userPower;

    /**
     * 用户邮箱
     *
     * Table:     user
     * Column:    user_email
     * Nullable:  false
     */
    private String userEmail;

    /**
     * 电话号码
     *
     * Table:     user
     * Column:    user_phone
     * Nullable:  true
     */
    private Long userPhone;

    /**
     * 年龄
     *
     * Table:     user
     * Column:    user_age
     * Nullable:  true
     */
    private Long userAge;

    /**
     * 性别
     *
     * Table:     user
     * Column:    user_gender
     * Nullable:  true
     */
    private String userGender;

    /**
     * 住址
     *
     * Table:     user
     * Column:    user_location
     * Nullable:  true
     */
    private String userLocation;

    /**
     * 意向职位
     *
     * Table:     user
     * Column:    user_intention
     * Nullable:  true
     */
    private String userIntention;

    /**
     * 密码保护状态
     *
     * Table:     user
     * Column:    protect
     * Nullable:  false
     */
    private boolean protect;

    /**
     * 账号状态
     *
     * Table:     user
     * Column:    frozen
     * Nullable:  false
     */
    private boolean frozen;

    /**
     * 创建时间
     *
     * Table:     user
     * Column:    create_time
     * Nullable:  false
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * Table:     user
     * Column:    update_time
     * Nullable:  false
     */
    private Date updateTime;

    private String userImg;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table user
     *
     * @mbggenerated Mon Jun 28 20:45:27 CST 2021
     */
    private static final long serialVersionUID = 1L;

    private String oldPassword;
}